package com.demo.domain;

import org.springframework.beans.factory.annotation.Required;

/**
 * @Author： yu.Tan
 * @Date: 2020/8/27 16:01
 * @Description:
 */
public class Student {

    private Integer age;
    private String name;

    @Required
    public void setAge(Integer age) {
        this.age = age;
    }
    public Integer getAge() {
        return age;
    }
    @Required
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }
}
